﻿using System;
using Aij1.Model;
using Aij1.Cms;
using Aij1.Utils;

namespace Aij1.UserControls
{
    public partial class CtrlComment : System.Web.UI.UserControl
    {
        protected A_Article Article;
        protected C_Customer C;
        protected void Page_Load(object sender, EventArgs e)
        {
            int newsId = CommOp.ToInt(Request.QueryString["Id"]);
            Article = ((BasePage)Page).XpoSession.GetObjectByKey<A_Article>(newsId);
            C = ((BasePage)Page).CurrentCustomer;
        }
    }
}